package com.ruoyi.activiti.service.impl;

import com.ruoyi.activiti.domain.ProcessDept;
import com.ruoyi.activiti.mapper.ProcessDeptMapper;
import com.ruoyi.activiti.service.ProcessDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProcessDeptServiceImpl implements ProcessDeptService {
    @Autowired
    private ProcessDeptMapper processDeptMapper;
    @Override
    public List<ProcessDept> queryByName(String deptName) {
        return processDeptMapper.queryByName(deptName);
    }
}
